package generic;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author zhangxin
 * @date 2020/9/22
 */
public class Person implements Serializable {

    private String name;

    private static int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static int getAge() {
        return age;
    }

    public void setAge(int age) {
        Person.age = age;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                '}';
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
